using System;
using System.Collections.Generic;
using System.Text;
using OgilvyOne.Model;
using OgilvyOne.BLL;
using OgilvyOne.IDAL;

namespace OgilvyOne.ProcessFlow
{
   public class HotspotController
    {
        // Methods
        public bool CreateHotspot(HotspotInfo hotspotinfo)
        {
            try
            {
                new HotspotClass().Insert(hotspotinfo);
            }
            catch
            {
                return false;
            }
            return true;
        }

        public void UpdateHots(HotspotInfo hotspotinfo)
        {
            new HotspotClass().Update(hotspotinfo);
        }

    }
}